import { service } from "@/service";

// 文件上传 api 函数简单封装
export const uploadApi = (data) => {
    return service.request({
        url: "files",
        data: data,
        method: "POST",
    });
};

export function getTableData(params) {
    return service.request({
        url: "feedback",
        params,
        method: "GET",
    });
}
